module.exports = {
  plugins: [
    "@vuepress/back-to-top",
    "@vuepress/pwa",
    [
      "@vuepress/google-analytics",
      {
        ga: "UA-88256229-2" // UA-00000000-0
      }
    ]
  ],
  title: "加菲猫-文档中心",
  dest: "dist",
  base:'/vuepress/',
  description: "文档管理中心",
  head: [
    [
        'link',
        {
            href: 'https://fonts.googleapis.com/css?family=Nunito:100,300,400,500,600,700',
            rel: 'stylesheet',
            type: 'text/css',
        }
    ],
    [
        'link',
        {
            href: '/cat.jpg',
            rel: 'icon'
        }
    ]
  ],
  themeConfig: {
    logo: '/cat.jpg',
    repo: '/wuhou123/wxxcx',
    sidebar: {
      '/mui-vue2/': require('./sidebarJs/mui-vue2'),
      '/wxgame/': require('./sidebarJs/wxgame'),
      '/taros/': require('./sidebarJs/taros'),
      '/electron/': require('./sidebarJs/electron')
    },
    sidebarDepth: 0,
    editLinkText: "在 GitHub 上编辑此页",
    lastUpdated: "上次更新",
    nav: [
      {
          text: '文档袋',
          link: '/mui-vue2/',
          items: [
              {text: 'mui-vue2开发文档', link: '/mui-vue2/'},
              {text: '小游戏入门文档', link: '/wxgame/'},
              {text: 'taro+taro-ui云开发体验', link: '/taros/'},
              {text: 'electron-vue-cli3开发实战', link: '/electron/'}
          ]
      }
  ]
  }
};
